<?php if ($this->_var['user_info']): ?>
<li class=""><?php echo $this->_var['lang']['hello']; ?>，<a href="user.php"><?php echo $this->_var['user_info']['username']; ?></a>, <?php echo $this->_var['lang']['welcome_return']; ?>！
 <a href="user.php?act=logout"><?php echo $this->_var['lang']['user_logout']; ?></a>
</li>
<?php else: ?>
  <li class="bold"><a href="user.php">登录</a></li> 
  <li class="bldr"><a href="user.php?act=register">注册</a></li> 
<?php endif; ?>